<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="__ADMIN__/css/layui.css"/>

    <style>
        table{border-collapse: collapse;
            width: 100%;
            font-size: 14px;
            text-align: center;
            margin-top: 10px;
            margin-left: 10px;
        }
        table th{background-color: #E8E8E8;}
        table th,
        table td{border: solid 1px #ccc; padding: 8px;}
    </style>
</head>
<body>
<table>
<thead>
<tr>
    <th>编号</th>
    <th>管理员名称</th>
    <th>管理员邮箱</th>
    <th>操作</th>
</tr>
</thead>
    <tbody>
    <volist name="data" id="vol">
      <tr>
          <td>{$i}</td>
          <td>{$vol.username}</td>
          <td>{$vol.email}</td>
          <td>
              <a   href="__CONTROLLER__/update/id/{$vol.id} "class="layui-btn layui-btn-xs" >修改</a>
              <a  href="__CONTROLLER__/del/id/{$vol.id} " class="layui-btn layui-btn-danger layui-btn-xs" onclick="if(confirm('确定删除么？')===false) return  false;">删除</a>
          </td>
      </tr>
    </volist>
    </tbody>
</table>
</body>
</html>